Milo Casagrande [Fri, 10 Jan 2014 08:08:12 +0000 (09:08 +0100)]
[l10n] Updated Italian translation.
Rico Tzschichholz [Thu, 9 Jan 2014 20:47:04 +0000 (21:47 +0100)]
x11: Add/Fix '(type *)' g-i annotations
Ryan Lortie [Wed, 8 Jan 2014 23:20:27 +0000 (18:20 -0500)]
Simplify GtkActionHelper
Now that the last GMenuModel-based user of GtkActionHelper is gone, we
can substantially simplify it.
https://bugzilla.gnome.org/show_bug.cgi?id=721836
William Hua [Wed, 8 Jan 2014 22:27:43 +0000 (17:27 -0500)]
Use GtkMenuTracker for Quartz backend.
https://bugzilla.gnome.org/show_bug.cgi?id=710351
William Hua [Wed, 8 Jan 2014 15:58:56 +0000 (10:58 -0500)]
Move get_key_equivalent() to gdk quartz utils.
https://bugzilla.gnome.org/show_bug.cgi?id=710351
Christian Kirbach [Wed, 8 Jan 2014 22:26:41 +0000 (23:26 +0100)]
Updated German translation
Ryan Lortie [Wed, 8 Jan 2014 19:31:16 +0000 (14:31 -0500)]
GtkMenuTracker: fix hidden-when='' vs. separators
Ensure that adding hidden-when='' to a menu item does not produce an
extra separator item as a side effect.
https://bugzilla.gnome.org/show_bug.cgi?id=688421
Ryan Lortie [Sat, 4 Jan 2014 07:52:12 +0000 (02:52 -0500)]
bloatpad: test hidden-when=''
Cook up some silly cases to test out the hidden-when='' attribute.
- make sure hidden-when='action-missing' shows/hides items based on
actions being created and destroyed
- make sure hidden-when='action-disabled' shows/hides items based on
actions being enabled and disabled
- make sure hidden-when='action-missing' doesn't hide items when the
action is merely disabled
https://bugzilla.gnome.org/show_bug.cgi?id=688421
Ryan Lortie [Sat, 4 Jan 2014 07:28:39 +0000 (02:28 -0500)]
GtkMenuTracker: remove hidden items from the menu
Modify the tracker so that it manages the visibility of
GtkMenuTrackerItem by issuing insert and remove callbacks to the
user of the tracker.
This works by treating the GtkMenuTrackerItem as a virtual section which
contains 1 item when the item is visible and 0 items when it is hidden.
For efficiency reasons, we only employ this trick in the case that the
item has a hidden-when='' attribute set on it.
https://bugzilla.gnome.org/show_bug.cgi?id=688421
Ryan Lortie [Sat, 4 Jan 2014 07:25:43 +0000 (02:25 -0500)]
GtkMenuTrackerItem: add an internal 'visible' flag
Add an internal API for checking if a GtkMenuTrackerItem is visible,
along with a signal for reporting changes in that flag. The item will
become invisible in situations according to the new hidden-when=''
attribute, which can be set to 'action-disabled' or 'action-missing'.
This new flag doesn't actually do anything yet, and none of the
consumers of GtkMenuTracker do anything with it (nor should they). A
followup patch will address the issue.
https://bugzilla.gnome.org/show_bug.cgi?id=688421
Ryan Lortie [Sat, 4 Jan 2014 07:11:24 +0000 (02:11 -0500)]
GtkMenuTracker: rework action removal a bit
Refactor the code in the action observer remove function in order to
make way for the (efficient) handling of hiding of the item in the case
that hidden-when='' is given.
https://bugzilla.gnome.org/show_bug.cgi?id=688421
Ryan Lortie [Sat, 4 Jan 2014 07:04:53 +0000 (02:04 -0500)]
GtkMenuTrackerItem: small logic tweak
Strictly speaking, can_activate should always be set back to FALSE when
the action disappears from the muxer (since we can't activate it
anymore) but we forgot to do that.
This 'bug' could never cause a problem because 'can_activate' is never
directly queried for anything at all and the item would get marked
insensitive anyway. As soon as the action was re-added, can_activate
would be recalculated based on the new action before anything else could
happen.
All the same, this should be cleared here.
https://bugzilla.gnome.org/show_bug.cgi?id=688421
Ryan Lortie [Fri, 3 Jan 2014 21:13:01 +0000 (16:13 -0500)]
GtkMenuTracker: cache result of hash lookup
Remove a hash lookup from the separator sync logic (which is run every
time we change a menu). Instead, we do the lookup when creating the
section and cache the result.
This refactor will also help us in a future commit to add support for
hiding menu items based on missing actions.
https://bugzilla.gnome.org/show_bug.cgi?id=688421
Ignacio Casal Quinteiro [Wed, 8 Jan 2014 13:37:57 +0000 (14:37 +0100)]
colorbutton: fix crash when destroying the colorbutton from the color-set signal
Daniel Mustieles [Wed, 8 Jan 2014 11:44:09 +0000 (12:44 +0100)]
Updated Spanish translation
Alexander Larsson [Wed, 8 Jan 2014 09:44:32 +0000 (10:44 +0100)]
PixelCache: Ensure clean cairo_t state in draw
This adds save/restore calls to the clear-to-transparent call in
the pixel cache, to avoid changing the default color of the
cairo_t. It also removes a call set_operator call that is no longer
necessary (it was trying to manually restore the state).
https://bugzilla.gnome.org/show_bug.cgi?id=721480
Steve Langasek [Tue, 7 Jan 2014 12:55:28 +0000 (13:55 +0100)]
fix prototypes of signal callbacks in the test suite
The signal callbacks are defined to take pointers as their arguments, but the
callbacks found in testsuite/gtk/builder.c are passing a GParamSpec by value
as the second argument. This confuses and angers the compiler on ppc64el,
resulting in segfaults after return from the function due to stack-smashing
by the (completely-unused) argument.
https://bugzilla.gnome.org/show_bug.cgi?id=721700
William Hua [Wed, 8 Jan 2014 04:40:06 +0000 (23:40 -0500)]
Add icon menu to bloatpad.
https://bugzilla.gnome.org/show_bug.cgi?id=710351
William Hua [Sun, 15 Dec 2013 02:41:49 +0000 (21:41 -0500)]
GtkIconInfo: add gtk_icon_info_is_symbolic()
https://bugzilla.gnome.org/show_bug.cgi?id=710351
Ryan Lortie [Mon, 16 Dec 2013 15:59:49 +0000 (10:59 -0500)]
gtkapplication-quartz: clean up inhibit code
When testing with bloatpad, the existing inhibit code seems not to be
working at all. Replace it with a cleaner and simpler version that
works.
https://bugzilla.gnome.org/show_bug.cgi?id=720551
Ryan Lortie [Wed, 8 Jan 2014 00:45:19 +0000 (19:45 -0500)]
app window: test actiongroup across destroy
Make sure that we don't violate the interface contract of GActionGroup
just because gtk_widget_destroy() was called.
https://bugzilla.gnome.org/show_bug.cgi?id=710351
Ryan Lortie [Mon, 16 Dec 2013 17:25:54 +0000 (12:25 -0500)]
Fix GtkApplicationWindow action group implementation
GtkApplicationWindow frees its internal action group on dispose for the
usual reasons: to avoid the possibility of reference cycles caused by
actions referring back to the window again.
Unfortunately, if it happens to be inside of a GtkActionMuxer at the
time that it is disposed, it will (eventually) be removed from the muxer
after it has been disposed. Removing an action group from a muxer
involves a call to g_action_group_list_actions() which will crash
because the internal action group to which we normally delegate the call
has been freed.
A future patch that reworks the quartz menu code will introduce a use of
GtkActionMuxer in a way that causes exactly this problem.
We can guard against the problem in a number of ways.
First, we can avoid the entire situation by ensuring that we are removed
from the muxer before we destroy the action group. To this end, we
delay destruction of the action group until after the chain-up to the
dispose of GtkWindow (which is where the window is removed from the
GtkApplication).
Secondly, we can add checks to each of our GActionGroup and GActionMap
implementation functions to check that the internal action group is
still alive before we attempt to delegate to it.
We have to be careful, though: because our _list_actions() call will
suddenly be returning an empty list, people watching the group from
outside will have expected to see "action-removed" calls for the
now-missing items. Make sure we send those. but only if someone is
watching.
https://bugzilla.gnome.org/show_bug.cgi?id=710351
Matthias Clasen [Wed, 8 Jan 2014 00:05:40 +0000 (19:05 -0500)]
Add a reftest for GtkActionBar child ordering
This shows that GtkActionBar and GtkBox treat pack-start/-end
the same.
Piotr Drąg [Tue, 7 Jan 2014 22:43:54 +0000 (23:43 +0100)]
Updated POTFILES.in
Matthias Clasen [Tue, 7 Jan 2014 21:16:52 +0000 (16:16 -0500)]
GtkActionBar: Just leave the center widget as NULL, initially
No need to construct a box that gets thrown away later.
Plus, this fixes the defaultvalue test for GtkActionBar.
Matthias Clasen [Tue, 7 Jan 2014 17:50:47 +0000 (12:50 -0500)]
Release-note the headerbar child order change
Matthias Clasen [Tue, 7 Jan 2014 17:44:34 +0000 (12:44 -0500)]
Make testsplitheaders more robust
Same empty string issue that I fixed in GtkHeaderBar a few days
ago.
Gabor Kelemen [Tue, 7 Jan 2014 17:58:13 +0000 (18:58 +0100)]
Updated Hungarian properties translation
Matthias Clasen [Tue, 7 Jan 2014 04:34:41 +0000 (23:34 -0500)]
Add an action bar test
https://bugzilla.gnome.org/show_bug.cgi?id=721665
Matthias Clasen [Tue, 7 Jan 2014 04:33:39 +0000 (23:33 -0500)]
Fix order of pack-end widgets
https://bugzilla.gnome.org/show_bug.cgi?id=721665
William Jon McCann [Mon, 6 Jan 2014 23:18:00 +0000 (18:18 -0500)]
widget-factory: add actionbar
https://bugzilla.gnome.org/show_bug.cgi?id=721665
William Jon McCann [Mon, 6 Jan 2014 22:14:14 +0000 (17:14 -0500)]
tests: use actionbar in headerbar test
This is a great example of where headerbar should not be used.
https://bugzilla.gnome.org/show_bug.cgi?id=721665
William Jon McCann [Mon, 6 Jan 2014 21:36:59 +0000 (16:36 -0500)]
Add GtkActionBar
A widget intended to offer contextual actions for a given view.
It allows packing children into the start or end as well as offering
a single centered child box.
https://bugzilla.gnome.org/show_bug.cgi?id=721665
Daniel Mustieles [Tue, 7 Jan 2014 12:29:40 +0000 (13:29 +0100)]
Updated Spanish translation
Daniel Mustieles [Tue, 7 Jan 2014 12:29:30 +0000 (13:29 +0100)]
Updated Spanish translation
Matthias Clasen [Tue, 7 Jan 2014 03:51:11 +0000 (22:51 -0500)]
GtkHeaderBar: Fix positioning of pack-end widgets
This makes the positioning of pack-start and pack-end
widgets symmetric.
Matthias Clasen [Tue, 7 Jan 2014 03:47:57 +0000 (22:47 -0500)]
Make testtitlebar more versatile
Test adding multiple custom widgets at each end. This exposes
that we're doing it wrong - the pack-end widgets are ordered
in the wrong way.
Baurzhan Muftakhidinov [Tue, 7 Jan 2014 02:33:22 +0000 (08:33 +0600)]
Update Kazakh translation
Matthias Clasen [Tue, 7 Jan 2014 01:35:01 +0000 (20:35 -0500)]
Avoid compiler warnings
Federico Mena Quintero [Mon, 6 Jan 2014 23:15:56 +0000 (17:15 -0600)]
filechooser: Document the settings XML
Matthias Clasen [Mon, 6 Jan 2014 22:05:53 +0000 (17:05 -0500)]
Be more careful when parsing gtk-decoration-layout
When the string is empty, breaking it at : will not give
us two tokens, and we were parsing garbage, leading to crash.
https://bugzilla.gnome.org/show_bug.cgi?id=721635
Ryan Lortie [Fri, 13 Dec 2013 04:31:52 +0000 (23:31 -0500)]
quartz: implement gdk_window_set_shadow_width()
Use the information to allow dragging windows all the way to the top of
the screen (ie: allow the top shadow to go under the menubar).
https://bugzilla.gnome.org/show_bug.cgi?id=720374
Ryan Lortie [Fri, 13 Dec 2013 01:18:01 +0000 (20:18 -0500)]
quartz: fix manual window move
We need to have gdk skip standard processing of events when we are in
manual move in addition to manual resize.
https://bugzilla.gnome.org/show_bug.cgi?id=720357
William Jon McCann [Mon, 6 Jan 2014 18:46:12 +0000 (13:46 -0500)]
tests: add menu alignments to the menubutton test
https://bugzilla.gnome.org/show_bug.cgi?id=720939
William Jon McCann [Mon, 6 Jan 2014 18:11:22 +0000 (13:11 -0500)]
tests: add some space to menubutton test
https://bugzilla.gnome.org/show_bug.cgi?id=720939
William Jon McCann [Sun, 22 Dec 2013 17:43:35 +0000 (12:43 -0500)]
Fix positioning of up menu button popup
Use the menu allocation instead of the request size.
https://bugzilla.gnome.org/show_bug.cgi?id=720939
Giovanni Campagna [Mon, 6 Jan 2014 13:05:59 +0000 (14:05 +0100)]
bloatpad: fix the action associated with the notification
Notifications can only be associated with application actions,
but clear is a window action. Introduce a "clear-all" action
that forwards to clear on all windows.
https://bugzilla.gnome.org/show_bug.cgi?id=721633
Matthias Clasen [Mon, 6 Jan 2014 15:30:15 +0000 (10:30 -0500)]
Add an example for split headers
This shows how to deal with variability in window decorations
with split header bars.
Matthias Clasen [Mon, 6 Jan 2014 15:31:34 +0000 (10:31 -0500)]
GtkHeaderBar: Refresh window buttons when settings change
We already do this when the shell-shows-menu settings changes,
but we forgot to do the same for the decoration layout.
Victor Ibragimov [Mon, 6 Jan 2014 10:18:49 +0000 (15:18 +0500)]
Tajik translation updated
Milo Casagrande [Mon, 6 Jan 2014 08:26:21 +0000 (09:26 +0100)]
[l10n] Updated Italian translation.
Matthias Clasen [Mon, 6 Jan 2014 03:42:09 +0000 (22:42 -0500)]
GtkMenuItem: fix initial accessible selection state
When the accessible is created for an already-selected
menuitem, we were not properly setting the state of the
the accessible. Fix that.
Rico Tzschichholz [Sun, 5 Jan 2014 20:46:40 +0000 (21:46 +0100)]
x11: Include missing public headers to GdkX11 gir build
Simon Feltman [Fri, 16 Aug 2013 10:59:30 +0000 (03:59 -0700)]
Add introspection friendly version of gtk_tree_path_new_from_indices
Add gtk_tree_path_new_from_indicesv which takes an array of
integers with a length. Use "Rename to" annotation to rename the
method as gtk_tree_path_new_from_indices. This is needed because
the original method takes variadic arguments which is not supported
by introspection.
https://bugzilla.gnome.org/show_bug.cgi?id=706119
Rafael Ferreira [Sun, 5 Jan 2014 17:01:54 +0000 (15:01 -0200)]
Updated Brazilian Portuguese translation for UI
Rafael Ferreira [Sun, 5 Jan 2014 17:01:47 +0000 (15:01 -0200)]
Updated Brazilian Portuguese translation for Properties
Matthias Clasen [Sun, 5 Jan 2014 16:56:31 +0000 (11:56 -0500)]
a11y: Fix keybindings in menus
GtkMenuItemAccessible was assuming that an accel label is
always the immediate child of a menu item. It also did not
deal with manually set accels. Fix both of these.
https://bugzilla.gnome.org/show_bug.cgi?id=721086
Matthias Clasen [Sun, 5 Jan 2014 16:12:09 +0000 (11:12 -0500)]
GtkAccelLabel: Add a setter for manual accels
This is needed to keep the a11y keybinding code working.
Matthias Clasen [Sun, 5 Jan 2014 15:54:43 +0000 (10:54 -0500)]
Emit a11y state change notification for color swatches
Improve the color swatch accessible to set a proper role
depending on whether the swatch is selectable or not, and
set the checked atk state when appropriate.
https://bugzilla.gnome.org/show_bug.cgi?id=721048
Matthias Clasen [Sun, 5 Jan 2014 14:19:58 +0000 (09:19 -0500)]
Color chooser: More accessible names
Set the accessible name of the 'custom color' button too.
Matthias Clasen [Sun, 5 Jan 2014 14:11:54 +0000 (09:11 -0500)]
Update a11y tests to match the last change
Color swatches have names now, not descriptions.
Matthias Clasen [Sun, 5 Jan 2014 04:36:12 +0000 (23:36 -0500)]
Nicer nicks for GtkMenuButton properties
Requested in
https://bugzilla.gnome.org/show_bug.cgi?id=720945
Matthias Clasen [Sun, 5 Jan 2014 04:30:28 +0000 (23:30 -0500)]
GtkColorChooserWidget: Set accessible names
As pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=721053
we should set the accessible name on the color swatch widgets,
not the descriptions.
Matthias Clasen [Sun, 5 Jan 2014 04:15:40 +0000 (23:15 -0500)]
GtkModelMenuItem: set initial accessible role
The initial state of GtkModelMenuItem is that of a normal menu
item, but the accessible we are using, GtkCheckMenuItemAccessible,
starts out with a role of 'check menu item'. Fix that up by
explicitly setting the initial accessible role.
Matthias Clasen [Sun, 5 Jan 2014 02:57:26 +0000 (21:57 -0500)]
Drop custom colors from a11y output
These were inadvertedly included in the previous commit, but
no custom colors are present in the gnome-continuous test sessions.
Matthias Clasen [Sun, 5 Jan 2014 02:48:19 +0000 (21:48 -0500)]
GtkCheckMenuItemAccessible: Make work with model menu items
GtkModelMenuItem does not emit the ::toggled signal when a radio
item is activated, so listen for property notification for that
property. We still keep the ::toggled signal handler, in order
to not break other uses of check and radio menu items.
https://bugzilla.gnome.org/show_bug.cgi?id=720983
Matthias Clasen [Sun, 5 Jan 2014 02:50:29 +0000 (21:50 -0500)]
GtkModelMenuItem: Add some property notification
GtkModelMenuItem emits no property notification, since none of its
properties are readable. But the toggled property is just a proxy
for GtkCheckMenuItem::active, so we should ensure that property
notification is emitted for the ::active property.
Tristan Van Berkom [Sat, 4 Jan 2014 02:55:41 +0000 (11:55 +0900)]
bgo #721407 - Fix scrolled window to work with template subclasses.
Ensure the hscrollbar & vscrollbar at gtk_scrolled_window_add() time,
this allows one to subclass GtkScrolledWindow with templates and add
children, as this will happen at instance initialization time before
the construct adjustment properties take effect.
Matthias Clasen [Sat, 4 Jan 2014 23:51:23 +0000 (18:51 -0500)]
GtkColorSwatch: Set an accessible role
And update the colorchooser a11y test to a) use GtkColorChooser
instead of the deprecated GtkColorSelection and b) match this
change. Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=721045
Colin Walters [Sat, 4 Jan 2014 22:52:22 +0000 (17:52 -0500)]
testbbox: Remove unused variable
This was the only compiler warning in Continuous for gtk3.
Matthias Clasen [Sat, 4 Jan 2014 22:44:14 +0000 (17:44 -0500)]
GtkInfoBar: Set a more accurate accessible role
And update the a11y tests to match. Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=721042
Matthias Clasen [Sat, 4 Jan 2014 22:36:19 +0000 (17:36 -0500)]
GtkDrawingArea: Set an accessible role
And update the a11y tests to match. Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=721040
Matthias Clasen [Sat, 4 Jan 2014 22:36:10 +0000 (17:36 -0500)]
Trivial formatting fix
Marek Černocký [Sat, 4 Jan 2014 21:57:38 +0000 (22:57 +0100)]
Updated Czech translation
Matthias Clasen [Sat, 4 Jan 2014 20:15:00 +0000 (15:15 -0500)]
Deal with broken _NET_WORKAREA more gracefully
fvwm seems to have problems keeping _NET_WORKAREA in sync with
the number of desktops. Instead of reading garbage, silently use
the full screen as workarea for desktops that are not covered
by the _NET_WORKAREA property.
https://bugzilla.gnome.org/show_bug.cgi?id=698248
Matthias Clasen [Sat, 4 Jan 2014 20:13:51 +0000 (15:13 -0500)]
x11: Avoid a possible memory leak in an error case
If _NET_WORKAREA is set to nonsensical values, we should still
free the memory before returning.
Matthias Clasen [Sat, 4 Jan 2014 19:11:55 +0000 (14:11 -0500)]
Trivial typo fix
Clayton Walker [Wed, 1 Jan 2014 23:38:37 +0000 (00:38 +0100)]
gtk: remove unused GTK_BUTTONBOX_DEFAULT_STYLE from gtkenums.h tests: remove GTK_BUTTONBOX_DEFAULT_STYLE from testbbox.c and fix crashing
https://bugzilla.gnome.org/show_bug.cgi?id=721317
Matthias Clasen [Sat, 4 Jan 2014 18:01:49 +0000 (13:01 -0500)]
GtkNotebook: Fix a problem with tab states
When replacing the tab label, we were not adding the
active-page style class. Fix that.
Matthias Clasen [Sat, 4 Jan 2014 17:40:34 +0000 (12:40 -0500)]
Raleigh: Improve notebook tab theming
The theme was not kept up-to-date when notebook tabs were
recently refactored. Fix it to show some indication of the
active tab.
Matthias Clasen [Sat, 4 Jan 2014 17:12:14 +0000 (12:12 -0500)]
Raleigh: Improve scale theming
Add some visual indication for fine adjustment mode in scales
and scrollbars.
Matthias Clasen [Sat, 4 Jan 2014 16:52:02 +0000 (11:52 -0500)]
Raleigh: Improve titlebar appearance
The default theme wasn't kept up-to-date as the header bar
and titlebar theming was tweaked. Update it to look non-broken,
at least.
Matthias Clasen [Sat, 4 Jan 2014 16:08:29 +0000 (11:08 -0500)]
GtkAboutDialog: be consistent about link activation
As pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=721394,
links in the credits part were not going through the
::link-activated signal. Fix that.
Matthias Clasen [Sat, 4 Jan 2014 15:57:46 +0000 (10:57 -0500)]
Trivial grammar fix
Matthias Clasen [Sat, 4 Jan 2014 15:47:22 +0000 (10:47 -0500)]
GtkLabelAccessible: reorganize the code
Separate the GtkLabelAccessible, GtkLabelAccessibleLink and
GtkLabelAccessibleLinkImpl implementations more clearly.
Matthias Clasen [Sat, 4 Jan 2014 14:43:23 +0000 (09:43 -0500)]
GtkLabelAccessible: update state of links
This commit makes the LinkImpl children of label accessibles
inherit all their state, except for focused and visited, which
are handled directly.
https://bugzilla.gnome.org/show_bug.cgi?id=721406
Matthias Clasen [Sat, 4 Jan 2014 03:02:16 +0000 (22:02 -0500)]
a11y tests: Add a test for multi-link labels
Matthias Clasen [Sat, 4 Jan 2014 03:59:37 +0000 (22:59 -0500)]
GtkLabelAccessible: Implement AtkHypertext
This commit makes the label accessible implement AtkHypertext,
which returns a AtkHyperlink object for each link in the text.
At the same time, add AtkHyperlinkImpl objects as children
to the label accessible.
Also some private API to indicate that links have changed, and
call that from GtkLabel when needed.
Adjust expected output of the affected a11y tests.
https://bugzilla.gnome.org/show_bug.cgi?id=721410
https://bugzilla.gnome.org/show_bug.cgi?id=721421
Matthias Clasen [Sat, 4 Jan 2014 02:00:44 +0000 (21:00 -0500)]
GtkLabel: Add private api for links
This exposes enough information to implement the AtkHyperText
interface.
More private link api
Matthias Clasen [Sat, 4 Jan 2014 01:44:21 +0000 (20:44 -0500)]
Add a gtklabelprivate.h header
For now, move the few private functions from gtklabel.h here.
Matthias Clasen [Sat, 4 Jan 2014 01:34:22 +0000 (20:34 -0500)]
a11y tests: Prepare to dump AtkHypertext
This will be used for links in labels soon.
As a side-effect, the output for AtkHyperlinkImpl changes
slightly. Update expected output accordingly.
Matthias Clasen [Sat, 4 Jan 2014 02:58:31 +0000 (21:58 -0500)]
GtkLinkButtonAccessible: fix broken AtkHyperlink implementation
The get_end_index implementation was casting the accessible
to AtkText even though GtkLinkButtonAccessible does not
implement this interface. This did not show up in the a11y
tests because the they were not dumping the affected AtkHyperlinkImpl
properties. Oops.
Matthias Clasen [Fri, 3 Jan 2014 21:19:54 +0000 (16:19 -0500)]
Deprecated the decoration-button-layout style property
This is now done via a setting + regular property, for
better control, and the style property is ignored.
Tong Hui [Sat, 4 Jan 2014 09:12:24 +0000 (17:12 +0800)]
Update Chinese simplified translation
Ryan Lortie [Fri, 27 Dec 2013 03:45:03 +0000 (22:45 -0500)]
GtkMenuTracker: tweak separator logic
Ignacio Casal Quinteiro reported a problem whereby an empty section at
the start of a menu has a separator placed after it. This was caused by
the implementation of the logic that separators should be inserted at
the top of all non-empty sections that are not the first section. This
logic is obviously incorrect in the case that the first section is empty
(in which case we would not expect to see a separator at the top of the
second section).
Change the logic so that we only insert separators when we see a
non-zero number of actual items in the menu before us.
https://bugzilla.gnome.org/show_bug.cgi?id=721119
Aurimas Černius [Fri, 3 Jan 2014 21:28:45 +0000 (23:28 +0200)]
Updated Lithuanian translation
Rafael Ferreira [Fri, 3 Jan 2014 07:46:30 +0000 (05:46 -0200)]
Updated Brazilian Portuguese translation for UI
Rafael Ferreira [Fri, 3 Jan 2014 07:43:56 +0000 (05:43 -0200)]
Updated Brazilian Portuguese translation for Properties
Ryan Lortie [Thu, 2 Jan 2014 17:00:10 +0000 (12:00 -0500)]
configure: use CFLAGS, etc. _FOR_BUILD as well
When not doing cross-builds, use the values of CFLAGS, CPPFLAGS and
LDFLAGS as the default value for CFLAGS_FOR_BUILD, CPPFLAGS_FOR_BUILD
and LDFLAGS_FOR_BUILD, respectively.
This avoids having to manually specify these variables in order to get
extract-strings to build properly.
This should really be handled by ax_prog_cc_for_build.m4. That has been
reported upstream. This is a workaround for now.
https://bugzilla.gnome.org/show_bug.cgi?id=721346
Colin Walters [Thu, 2 Jan 2014 23:40:17 +0000 (18:40 -0500)]
window: Document GtkWindow::set-focus
Not sure why this was never documented.